package com.hbnu.sunjianwei.questionbank.entity;

import java.util.List;

/**
 * 试卷实体类
 */
public class ExamPaper {
    private String title;
    private List<Question> questions;
    private String createTime;

    public ExamPaper() {}

    public ExamPaper(String title, List<Question> questions, String createTime) {
        this.title = title;
        this.questions = questions;
        this.createTime = createTime;
    }

    // Getter和Setter方法
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }

    public List<Question> getQuestions() { return questions; }
    public void setQuestions(List<Question> questions) { this.questions = questions; }

    public String getCreateTime() { return createTime; }
    public void setCreateTime(String createTime) { this.createTime = createTime; }
}